<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <form action="" method="post" enctype="multipart/form-data">
        <table>
            <tbody>
                <tr>
                    <td>头像</td>
                    <td><input type="file" name="avatar"></td>
                </tr>
                <tr>
                    <td>描述：</td>
                    <td><input type="text" name="desc"></td>
                </tr>
                <tr>
                    <td></td>
                    <td><input type="submit"></td>
                </tr>
            </tbody>
        </table>
    </form>
    <div>

        <img src="{{ url_img |default('None')}}" alt="">
    </div>
</body>
</html>